<?php /* Smarty version Smarty-3.1.6, created on 2012-11-27 23:25:06
         compiled from "./index/Tpl\index\product.html" */ ?>
<?php /*%%SmartyHeaderCode:1508750b4db5211b442-06888867%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '007b481a0fe204bf33b974efa17adbefa9032393' => 
    array (
      0 => './index/Tpl\\index\\product.html',
      1 => 1353946818,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1508750b4db5211b442-06888867',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'class' => 0,
    'item' => 0,
    'classId' => 0,
    'points' => 0,
    'userName' => 0,
    'ad' => 0,
    'waterFall' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_50b4db524fa93',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50b4db524fa93')) {function content_50b4db524fa93($_smarty_tpl) {?><link type="text/css" rel="stylesheet" href="/assets/css/style.css"/>
<script type="text/javascript" src="/assets/js/jquery.js"></script>
<script type="text/javascript" src="/assets/js/jquery.SuperSlide.js"></script>
<body>
<div id="header" style="width:950px;margin:0 auto;">
</div>
<div id="nav" style="width:950px;margin:0 auto;">
	<div class="wrapper">
		<div class="left">
			<a href="/index.php" class="b red">首页</a><span>-</span>
			<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['class']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
			<a href="/index.php?a=categray&classId=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['classId']->value==$_smarty_tpl->tpl_vars['item']->value['id']){?>class="b"<?php }?> > <?php echo $_smarty_tpl->tpl_vars['item']->value['className'];?>
</a>
			<?php } ?>
			
			<!--<a href="#" class="b">团购</a><a href="#" class="b">兑换</a>-->
		</div>
		<div class="right">
			<p><span>您当前拥有<b class="points"><?php echo $_smarty_tpl->tpl_vars['points']->value;?>
</b>积分</span><a href="#"><?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
</a></p>
			<a href="#" class="btn">签到</a>
		</div>
		<div class="clearit"></div>
	</div>
</div>
<!--
<div id="subNav">
	<div class="wrapper">
		<ul>
			<li class="itemA"><a href="#">服装</a><a href="#">鞋子</a><a href="#">包包</a><a href="#">配饰</a></li>
			<li class="itemB"><a href="#">家装</a><a href="#">卧室</a><a href="#">厨房</a><a href="#">阳台</a></li>
			<li class="itemC"><a href="#">护肤</a><a href="#">彩妆</a><a href="#">品牌</a><a href="#">功效</a></li>
			<li class="itemD"><a href="#">零食</a><a href="#">特色食品</a><a href="#">茶酒冲饮</a></li>
		</ul>
	</div>
</div>
-->
<div id="product">
	<div class="ad"><a href="<<?php echo $_smarty_tpl->tpl_vars['ad']->value['picLink'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['ad']->value['picUrl'];?>
" /></a></div>
	<div class="itemA">
		<div class="pic">
			<a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['item_link'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
" /></a>
		</div>
		<div class="info">
			<h1><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</h1>
			<p class="p1"><?php echo $_smarty_tpl->tpl_vars['item']->value['desc'];?>
</p>
			<p class="p2">标签：女装</p>
			<p class="p3">评论：<b>16</b>条<span>|</span>最近销量：<b>160</b>件<span>|</span>价格：<b class="red"><?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
</b>元</p>
			<div class="sns-widget" style="float:left;margin-top:13px;" data-like='{
    "text":"喜欢",
    "skinType":2,
    "type":"3",
    "key":"<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
",
    "client_id":"170429",
	"shareparams":{
	"pic":"<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
",
	"client_id":"19",
	"comment":"这个宝贝我蛮喜欢的哦!~~大家来围观下！~",
	"type":"webpage",
	"title":"<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
",
	"key":"http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"}}'>
</div>

<div data-sharebtn='{
 skinType:1,
 type:"item",
 app_id:"1100061",
 key:"<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
",
 comment:"#发现小而美# <?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
 http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
",
 pic:"<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
",
 client_id:"170421", 
 isShowFriend:false
}'
class="sns-widget ju-sns-share">分享</div>
			<p class="p4"><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['item_link'];?>
" target="_blank" class="btn3" style="width: 96px;margin-left: 110px;color: white;text-indent: 14px;height: 30px;line-height: 30px;background: url(/assets/images/btn3.gif) no-repeat">立即购买</a></p>
										
			<!--<div>
				<h3>喜欢它的人</h3>
				<ul>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
					<li><a href="#"><img src="/assets/images/p7.jpg" /></a><p><a href="#">蛋蛋的忧伤</a></p>21个喜欢</li>
				</ul>
			</div>
			-->
		</div>
		<div class="clearit"></div>
	</div>

 
	<div class="comment">
		<h2>全部评论</h2>
		<div class="sns-widget" data-comment='{
	"isAutoHeight":false,
    "param":{
    	"target_key":"<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
",
        "type_id":"1100061",
        "fId":"",
        "rec_user_id":"-1",
        "view":"detail_list",
        "title":"<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
",
        "moreurl":"http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
",
		"fPicUrl":"<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
",
        "canFwd":"2",
		},
	"paramList":{"view":"list_trunPage"}}'>
</div>

	</div>
	
	<div class="recommend">
		<ul>
			<li class="hover zoom"><a href="#">你是我孩子气的神</a><img src="/assets/images/p12.jpg" /><em></em></li>
			<li class="zoom"><a href="#">永远的女神</a><img src="/assets/images/p12.jpg" /><em></em></li>
			<li class="zoom"><a href="#">Halloween扮相</a><img src="/assets/images/p12.jpg" /><em></em></li>
			<li class="zoom"><a href="#">心有猛虎·细嗅蔷薇</a><img src="/assets/images/p12.jpg" /><em></em></li>
			<li class="zoom"><a href="#">最IN军装风</a><img src="/assets/images/p12.jpg" /><em></em></li>
		</ul>
	</div>
	<div class="wook">
		<div id="wook">
			<ul class="waterUL" style="height:500px;">
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['waterFall']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
				<li class="water" id="wat" type="<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
">
					<a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
" height="200px"/></a>
					<p class="p1"><a href="/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></p>
					<div class="sns-widget ju-like" data-like='{
    "text":"喜欢",
    "skinType":1,
    "type":"3",
    "key":"<?php echo $_smarty_tpl->tpl_vars['item']->value['item_id'];?>
",
    "client_id":"170429",
	"shareparams":{
	"pic":"<?php echo $_smarty_tpl->tpl_vars['item']->value['pic_url'];?>
",
	"client_id":"19",
	"comment":"这个宝贝我蛮喜欢的哦!~~大家来围观下！~",
	"type":"webpage",
	"title":"<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
",
	"key":"http://ju.uz.taobao.com/index.php?a=product&id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"}}'>
</div>


					<p class="p2"><?php echo $_smarty_tpl->tpl_vars['item']->value['shop'];?>
</p>
				</li>
				<?php } ?>
			</ul>	
		</div>
	</div>	
	<div class="clearit"></div>
</div>
<!-- Include the plug-in -->
<script src="/assets/js/jquery.wookmark.js"></script>
<!-- Once the page is loaded, initalize the plug-in. -->
<script type="text/javascript">
    var handler = null;
    
    // Prepare layout options.
    var options = {
      autoResize: true, // This will auto-update the layout when the browser window is resized.
      container: $('#wook'), // Optional, used for some extra CSS styling
      offset: 23, // Optional, the distance between grid items
      itemWidth: 220 // Optional, the width of a grid item
    };
    
    /**
     * When scrolled all the way to the bottom, add more tiles.
     */
    function onScroll(event) {
      // Check if we're within 100 pixels of the bottom edge of the broser window.
      var closeToBottom = ($(window).scrollTop() + $(window).height() > $(document).height() - 100);
      if(closeToBottom) {
        // Get the first then items from the grid, clone them, and add them to the bottom of the grid.
        var items = $('#wook ul li');
        var firstTen = items.slice(0, 10);
        $('#wook ul').append(firstTen.clone());
        
        // Clear our previous layout handler.
        if(handler) handler.wookmarkClear();
        
        // Create a new layout handler.
        handler = $('#wook ul li');
        handler.wookmark(options);
      }
    };
  
    $(document).ready(function() {
      // Capture scroll event.
      $(document).bind('scroll', onScroll);
      // Call the layout function.
      handler = $('#wook ul li');
      handler.wookmark(options);
	  $(".recommend li").hover(function(){
	 	 $(".recommend li").removeClass("hover");
	  	$(this).addClass("hover");
	  })
    });
 </script>
</body>
</html>
<?php }} ?>